package org.osmdroid.api;

import org.osmdroid.views.MapView;

/**
 * An interface that resembles the Google Maps API MapView class and is
 * implemented by the osmdroid {@link MapView} class.
 * 
 * @author Neil Boyd
 * 
 */
public interface IMapView {

    IMapController getController();

    IProjection getProjection();

    int getZoomLevel();

    int getMaxZoomLevel();

    int getLatitudeSpan();

    int getLongitudeSpan();

    IGeoPoint getMapCenter();

    // some methods from View
    // (well, just one for now)
    void setBackgroundColor(int color);

}
